<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<jqMvcGrid.Models.Product>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <legend>Details
            <%= Model.ProductName %></legend>
        <p>
            ProductName:
            <%= Html.Encode(Model.ProductName) %>
        </p>
        <p>
            SupplierID:
            <%= Html.Encode(Model.SupplierID) %>
        </p>
        <p>
            CategoryID:
            <%= Html.Encode(Model.CategoryID) %>
        </p>
        <p>
            QuantityPerUnit:
            <%= Html.Encode(Model.QuantityPerUnit) %>
        </p>
        <p>
            UnitPrice:
            <%= Html.Encode(String.Format("{0:F}", Model.UnitPrice)) %>
        </p>
        <p>
            UnitsInStock:
            <%= Html.Encode(Model.UnitsInStock) %>
        </p>
        <p>
            UnitsOnOrder:
            <%= Html.Encode(Model.UnitsOnOrder) %>
        </p>
        <p>
            ReorderLevel:
            <%= Html.Encode(Model.ReorderLevel) %>
        </p>
        <p>
            Discontinued:
            <%= Html.Encode(Model.Discontinued) %>
        </p>
    </fieldset>
    <p>
        <%=Html.ActionLink("Edit", "Edit", new { id=Model.ProductID }) %>
        |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
